package com.qhit.service;

import com.qhit.pojo.Goods;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @program: lyb
 * @description: ss
 * @author: DYF
 * @create: 2020-10-22 09:04
 */
public interface GoodsService {
    List<com.qhit.pojo.Goods> getList(HashMap hashMap);

    long getListCount(HashMap hashMap);
//添加
    int add(Goods goods);

    Goods getGoodsById(String id);

    int edit(Goods goods);


    int del(String id);


    Map getListByPageWithSize(Integer page, Integer pageSize, String keywords);
}
